package com.administrator.customviewtest.other_test;


public class DialogTools {

    private volatile  static DialogTools tools;
    private DialogTools(){}
        public static DialogTools getInstance(){
            if(tools==null){
                synchronized(DialogTools.class){
                    if(tools==null){
                        tools=new DialogTools();
                    }
                }
            }
            return tools;
        }

}
